import hyRequest from '@/service'

// 根据名字查询下拉框数据
export const getSelectUserData = (userName: string) => {
  return hyRequest.get({
    url: `/integral/sign/getSelectFormatByName`,
    params: {
      userName
    }
  })
}

// 获取指定用户签到列表
export const getUserSignRecord = (encryptStr: string) => {
  return hyRequest.get({
    url: `/integral/sign/getUserSignRecord`,
    data: { encryptStr },
    isShowMessage: true
  })
}
